package com.example.ordersys.mapper;

import com.example.ordersys.model.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:咭咭熊
 * Date:2021 - 08 - 07
 * Time:10:00
 */
@Mapper
public interface OrderInfoMapper {

    public int add(OrderInfo orderInfo);

    public List<OrderInfo> getList(int uid);

   public List<OrderInfo> getAllList();

    public int up(int oid, int status);//修改订单状态
}
